package com.study.portal.dao.impl;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.study.portal.dao.IBbsCommentDao;
import com.study.portal.pojo.BbsComment;

public class BbsCommentDaoImpl extends SqlMapClientDaoSupport implements
        IBbsCommentDao {

    public int save(BbsComment bbsComment) {
        //INSERT_BBSCOMMENT
        int id = (Integer)this.getSqlMapClientTemplate().insert("INSERT_BBSCOMMENT", bbsComment);
        return id;
    }
}
